//
//  list.hpp
//  Cpp_Demo
//
//  Created by Robin Guo on 2017/9/24.
//  Copyright © 2017年 Robin Guo. All rights reserved.
//

#ifndef list_hpp
#define list_hpp

#include <stdio.h>

template <class T>
class list {
    
public:
    virtual void push(T element) = 0;
    virtual T pop() = 0;
    virtual int size() = 0;
    virtual T top() = 0;
};

#endif /* list_hpp */
